package 数据结构;

/**
 * @author 乐心湖
 * @date 2020/6/15 12:46
 **/
public class Main {
    public static void main(String[] args) {
        Array<Integer> arr = new Array<>();
        for (int i = 0; i < 9; i++) {
            arr.addLast(i);
        }
        System.out.println(arr);
        for (int i = 0; i < 5; i++) {
            arr.remove(i);
        }
        System.out.println(arr);
    }
}
